@import './common';
@import './head';
@import './foot';

.introduce-box {
    padding: 50px 8.28%;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        max-width: 626px;
        height: auto;
        margin-right: 60px;
    }

    p {
        margin-bottom: 0;
    }

    .introduce-text-title {
        position: relative;
        padding-left: 60px;

        &::before {
            content: '';
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 50px;
            height: 1px;
            background: #445768;
        }
    }

    .company-name {
        margin: 50px 0;
    }

    .company-name+p {
        line-height: 48px;
    }
}

.culture-box {
    background: linear-gradient(90deg, #7992A6, #384B59);
    color: #ffffff;

    img {
        width: 100%;
    }

    .culture-left {
        padding-left: 8.28%;

        p {
            margin-bottom: 0;

            &:last-child {
                margin-top: 15px;
                line-height: 48px;
            }
        }
    }
}

.explain-list {
    display: flex;
    justify-content: center;
    padding: 50px 0;

    .explain-item {
        text-align: center;

        &:nth-child(2) {
            margin: 0 170px;
        }

        &:nth-child(3) {
            margin-right: 170px;
        }

        img {
            max-width: 120px;
            margin-bottom: 40px;
        }

        p {
            margin-bottom: 0;

            &:last-child {
                max-width: 224px;
            }
        }

        .explain-title {
            margin-bottom: 20px;
        }
    }
}

.middle-box {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;

    .middle-item {
        width: 24.25%;
        margin-right: 1%;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #ffffff;
        background: #7992A6;

        img {
            width: 100%;
            height: 100%;
        }

        &:nth-child(4n) {
            margin-right: 0;
        }

        p {
            margin-bottom: 0;

            &:first-child {
                margin-bottom: 70px;
            }

            &:last-child {
                max-width: 290px;
                text-align: center;
                line-height: 38px;
            }
        }
    }
}

.other-box {
    margin-bottom: 80px;

    .other-item {
        padding: 35px 50px;
        border: 1px solid #7992A6;
        border-radius: 20px;
        margin-right: 30px;

        &:last-child {
            margin-right: 0;
        }

        img {
            width: 60px;
            height: 60px;
            margin-right: 15px;
        }

        .other-top {
            margin-bottom: 27px;
        }

        p {
            margin-bottom: 0;
            max-width: 400px;
            line-height: 38px;
        }
    }
}

.other-one-box {
    background: url('../images/about_42.png') no-repeat;
    background-size: cover;

    .other-one-content {
        box-sizing: border-box;
        padding: 150px 0;
        display: flex;
        justify-content: space-around;
        color: #ffffff;
        text-align: center;

        .other-one-item {
            img {
                width: 100px;
                height: 100px;
                margin-bottom: 65px;
            }

            p {
                margin-bottom: 0;

                &:last-child {
                    font-size: 18px;
                    max-width: 343px;
                    line-height: 36px;
                }
            }

            .other-one-title {
                margin-bottom: 40px;
            }
        }
    }
}

.swiper-box {
    background: #111A21;
    padding: 80px 100px;
    color: #fff;
    position: relative;

    p {
        margin-bottom: 35px;
    }

    img {
        width: 297px;
        height: auto;
    }

    .swiper-slide {
        padding: 0 5px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        --swiper-navigation-color: #888D90;
    }
}

@media screen and (max-width: 750px) {
    .banner-box {
        margin-bottom: 0.4rem;
    }

    .introduce-box {
        padding: 0.4rem !important;
        flex-direction: column;

        img {
            width: 100%;
            margin-right: 0;
            max-width: 690px;
            margin-bottom: 0.4rem;
        }

        .introduce-text-title {
            font-size: 0.3467rem;
        }

        .company-name {
            font-size: 0.4267rem;
            margin: 0.4667rem 0;

            &+p {
                line-height: 0.6933rem;
                font-size: 0.3467rem;
            }
        }
    }

    .culture-box {
        background: url('../images/about_phone_bg.png') no-repeat;
        background-size: cover;
        padding: 0.88rem 0.4667rem;

        .culture-left {
            padding-left: 0;

            p {
                &:first-child {
                    font-size: 0.4267rem;
                    font-weight: bold;
                }

                &:last-child {
                    font-size: 0.3467rem;
                    line-height: 0.6933rem;
                }
            }
        }
    }

    .explain-list {
        flex-wrap: wrap;
        padding: 0.6667rem 0.4rem;

        .explain-item {
            width: 50%;
            margin-right: 0;

            img {
                width: 100%;
                max-width: 1.6rem;
                height: auto;
                margin-bottom: 0.3733rem;
            }

            &:nth-child(2) {
                margin: 0 0 0.5333rem 0;
            }

            &:nth-child(3) {
                margin: 0;
            }

            .explain-title {
                font-size: 0.4267rem;
                margin-bottom: 0.2667rem;
                text-align: center;
            }

            p {
                &:last-child {
                    margin: 0 auto;
                    max-width: 3.52rem !important;
                    font-size: 0.32rem;
                    line-height: 0.5867rem;
                }
            }
        }
    }

    .middle-box {
        margin-bottom: 0.5333rem;

        .middle-item {
            width: 49%;
            margin-bottom: 0.2667rem;

            &:nth-child(odd) {
                margin-right: 2%;
            }

            &:nth-child(even) {
                margin-right: 0;
            }

            p {
                font-size: 0.3733rem;
                margin-bottom: 0.3333rem !important;

                &:first-child {
                    padding-top: 0.2rem;
                }

                &:last-child {
                    max-width: 100%;
                    padding: 0 0.2rem;
                    font-size: 0.2667rem;
                    line-height: 0.5867rem;
                }
            }
        }
    }

    .other-box {
        margin-bottom: 0.4rem;
        flex-wrap: wrap;
        padding: 0 0.6667rem;

        .other-item {
            margin: 0;
            padding: 0.4667rem 0.3733rem;

            &:nth-child(2) {
                margin: 0.4rem 0;
            }

            img {
                width: 1.0667rem;
                height: 1.0667rem;
                margin-right: 0.24rem;
            }

            .other-top {
                margin-bottom: 0.4667rem;

                span {
                    font-size: 0.4267rem;
                }
            }

            p {
                font-size: 0.32rem;
                max-width: 100%;
                line-height: 0.64rem;
            }
        }
    }

    .other-one-box {
        .other-one-content {
            padding: 0.3333rem 0;
            flex-wrap: wrap;

            .other-one-item {
                width: 100%;
                padding: 0 1.3333rem;
                margin-bottom: 0.2667rem;

                img {
                    width: 1.3333rem;
                    height: 1.3333rem;
                    margin-bottom: 0.3333rem;
                }

                .other-one-title {
                    margin-bottom: 0.3333rem;
                }

                p {
                    &:last-child {
                        max-width: 7.36rem;
                        font-size: 0.32rem;
                        text-align: center;
                        margin-right: 0 !important;
                    }
                }
            }
        }
    }

    .swiper-box {
        padding: 0.3733rem 0.44rem;

        img {
            width: 2.7333rem !important;
            height: auto;
        }

        .swiper-button-prev,
        .swiper-button-next {
            top: 60%;
            &::after {
                font-size: 0.6rem;
            }
        }
        .swiper-button-prev {
            left: 0;
        }
        .swiper-button-next {
            right: 0;
        }
    }
}